//
//  CollectionViewCell.m
//  FlowerRainGround
//
//  Created by 阿仁欧巴 on 16/4/22.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "CollectionViewCell.h"
#import "FirstModel.h"

@implementation CollectionViewCell

- (void)setModel:(ShopModel *)model
{
//    _model = model;
//    [self.headImageView sd_setImageWithURL:[NSURL URLWithString:model.smallIcon] placeholderImage:[UIImage imageNamed:@"0cpng"]];
//    self.titleLabel.text = model.title;
//    self.nameLabel.text = [NSString stringWithFormat:@"#%@#",model.categoryModel.name];
//    self.headImageView.backgroundColor = [UIColor redColor];
    _shopModel = model;
    [self.headImageView sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:[UIImage imageNamed:@"0"]];
    
}





- (void)awakeFromNib {
    // Initialization code
}

@end
